<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <title>警告框</title>
    <script>
        // windows.alert();  // windows可以省略
        alert("开始秒杀了，赶紧！");

    </script>

<body>
</body>